import { RouteRecordRaw } from 'vue-router';

const root = () => import('@/layout/index.vue');

export const constRoutes: RouteRecordRaw[] = [
  {
    path: '/',
    name: '/',
    // component: root,
    redirect: '/dashboard'
  },
  {
    path: '/:pathMatch(.*)*',
    component: () => import('@/exception/404.vue') // 404页面
  }
];
